// index.js
Page({


	onLoad: function (options) {

		// 播放背景音乐 start 
		const backgroundAudioManager = wx.getBackgroundAudioManager()
		backgroundAudioManager.title = '此时此刻'
		backgroundAudioManager.epname = '此时此刻'
		backgroundAudioManager.singer = '许巍'
		backgroundAudioManager.coverImgUrl = 'http://y.gtimg.cn/music/photo_new/T002R300x300M000003rsKF44GyaSk.jpg?max_age=2592000'
		// 设置了 src 之后会自动播放
		backgroundAudioManager.src = 'https://x.quhuichang.cn/imagex/许巍-空谷幽兰.mp3'
		// 播放背景音乐 start

	},


})